import { createPinia } from "pinia";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
import { createApp } from "vue";

import App from "./App.vue";
import router from "./router";

import "./assets/base.css";
import Antd from "ant-design-vue";
import "ant-design-vue/dist/antd.css";

//windicss
import "virtual:windi.css";

// 动画库
import "animate.css";

const app = createApp(App);

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
app.use(pinia);

app.use(router);
app.use(Antd);

app.mount("#app");
